import request from '@/utils/request';

export async function reqTyHerbList(data: any, options?: any): Promise<any> {
	return request('/api/sys/herb/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyHerb(data: any, options?: any): Promise<any> {
	return request('/api/sys/herb/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyHerb(data: any, options?: any): Promise<any> {
	return request('/api/sys/herb/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyHerb(data: any, options?: any): Promise<any> {
	return request('/api/sys/herb/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


